#include "./../Headers/text.h"

namespace Text {

	bool Readable::fscan( const string &address ){
		FILE *parq = NULL;

		if( ! file_open( address.c_str(), parq, "r" ) )
			return false;

		bool result = fileScan( parq );
		return file_close( parq ) && result;
	};

	bool Writeable::fprint( const string &address ) const {
		FILE *parq = NULL;

		if( ! file_open( address.c_str(), parq, "r" ) )
			return false;

		bool result = filePrint( parq );
		return file_close( parq ) && result;
	};

};
